package com.chebaohui.iqs.service;

import java.util.List;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import org.springframework.web.servlet.ModelAndView;

import com.chebaohui.iqs.entity.*;
import com.chebaohui.iqs.entity.base.*;
import com.chebaohui.iqs.entity.req.*;
import com.chebaohui.iqs.entity.res.*;

/**
 * describe:接口服务层:车险报价
 * 
 * @author regas_xie
 *
 */
public interface PriceService {
	
	/**利宝支付
	 * @return
	 */
	public ModelAndView libaoPay(String libaoFlowId);

	/**
	 * 回调处理
	 * 
	 * @param request
	 * @param response
	 */
	public void backDeal(final HttpServletRequest request, final HttpServletResponse response,String type);

	/**
	 * 查车
	 * 
	 * @param param
	 *            请求参数
	 * @return
	 */
	public Result<List<CompanyCars<List<Cars>>>> carCheck(Paramter<CheckCar> param);

	/**
	 * 报价
	 * 
	 * @param param
	 *            请求参数
	 * @return
	 */
	public Result<List<CompanyCarPrice>> carPrice(Paramter<CarPrice> param);

	/**
	 * 核保
	 * 
	 * @param param
	 *            请求参数
	 * @return
	 */
	public Result<CompanyCarPermit> carConfirm(Paramter<CarPermit> param);

	/**
	 * 支付登记
	 * 
	 * @param param
	 *            请求参数
	 * @return
	 */
	public Result<CompanyCarPermit> carPay(Paramter<CarPays> param);
}
